<?php
class IndexController extends Controller
{
	public function viewAction()
	{
		$this->view->charset = 'UTF-8';
		$this->view->title = 'VIVO';
		
 		$this->view->categorys = array(
 				'衣服' => array('美特斯邦威', '真维斯', '361'),
 				'书籍' => array('PHP Web2.0实战', 'Java编程思想', 'jQuery实战', 'PHP高级程序设计：模式、框架与测试'),
 				'电脑' => array('HP', 'Dell', '联想', 'ThinkPad')
 			);
 
 		$this->view->username = 'teacher';
	}
}
